﻿    <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarEdificio
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 
    <script src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Edificio.js") %>" type="text/javascript"></script>

    <div id="Registrar">
    <h2>Registrar Edificio</h2>
    <br />
    
    <label class="Obligatorio">Los campos con (*) son obligatorios</label><br></br>
                     
    <label>Nombre: (*)</label>
    <input type="text" id="RegTbxNombre" class="text ui-widget-content ui-corner-all" maxlength="50"/>
    <label id="RegLblErrorNombre" class="erroresClase" style="color: Red"></label>
    <br></br>
                               
    <label>Departamento: (*)</label>
    <select id="RegSctDepartamento" onchange="cargarProvinciasRegistrar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Provincia: (*)</label>
    <select id="RegSctProvincia" onchange="cargarDistritosRegistrar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Distrito: (*)</label>
    <select id="RegSctDistrito" class="text ui-widget-content ui-corner-all"></select>
    <br></br>
         
    <label>Dirección: (*)</label>
    <input type="text" id="RegTbxDireccion" class="text ui-widget-content ui-corner-all" maxlength="50"/>
    <label id="RegLblErrorDireccion" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Teléfono:</label>
    <input type="text" id="RegTbxTelefono" class="text ui-widget-content ui-corner-all" maxlength="16"/>
    <label id="RegLblErrorTelefono" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Contometro: (*)</label>
    <input name="RegRbnContometro" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Sí</label>
    <input name="RegRbnContometro" type="radio" value="2" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:260px; text-align:left">No</label>
    <br></br>

    <label>Prorrateo Agua: (*)</label>
    <input name="RegRbnProrrateo" type="radio" value="Area" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Área</label>
    <input name="RegRbnProrrateo" type="radio" value="Persona" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:225px; text-align:left">Persona</label>
    <br></br>

    <label>Prorrateo Cuota: (*)</label>
    <input name="RegRbnProrrateoCuota" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Única</label>
    <input name="RegRbnProrrateoCuota" type="radio" value="2" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:225px; text-align:left">Por Área</label>
    <br></br>

    <label>Monto Cuota: (*)</label>
    <input type="text" id="RegTbxMontoCuota" class="text ui-widget-content ui-corner-all" maxlength="6"/>
    <label id="RegLblErrorMontoCuota" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Pisos: (*)</label>
    <input type="text" id="RegTbxPiso" class="text ui-widget-content ui-corner-all" maxlength="2"/>
    <label id="RegLblErrorPiso" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Sotanos: (*)</label>
    <input type="text" id="RegTbxSotano" class="text ui-widget-content ui-corner-all" maxlength="2"/>
    <label id="RegLblErrorSotano" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° de Cocheras: (*)</label>
    <input type="text" id="RegTbxCochera" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorCochera" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° de Depósitos: (*)</label>
    <input type="text" id="RegTbxDeposito" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorDeposito" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Banco: (*)</label>
    <select id="RegSctBanco" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Cuenta: (*)</label>
    <input type="text" id="RegTbxCuenta" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorCuenta" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Pago Inmobiliaria: (*)</label>
    <input type="text" id="RegTbxPago" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorPago" class="erroresClase" style="color: Red"></label>
    <br></br>   


    <input type="submit" id = "RegBtnRegistrar" value="Registrar" class="submit-button"/>
    <input type="submit" id = "RegBtnCancelar" value="Cancelar" class="submit-button" /><br></br>
    </div>
    <div id="Modificar"></div>
    <div id="Eliminar"></div>
    <div id="Buscar"></div>
    

</asp:Content>

